package com.example.demo;

import com.example.demo.config.HttpPortCfg;
import com.example.demo.config.NettyServerConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.Resource;

@SpringBootApplication
@MapperScan("com.example.demo.dao")
public class DemoApplication {

	@Resource
	private HttpPortCfg httpPortCfg;

	@Resource
	private NettyServerConfig nettyConfig;

	public static void main(String[] args) throws Exception{
		SpringApplication.run(DemoApplication.class, args);
	}

}
